USE [DBExpert]
GO

/****** Object:  Table [dbo].[Venda]    Script Date: 25/01/2014 22:56:24 ******/
DROP TABLE [dbo].[Venda]
GO

/****** Object:  Table [dbo].[Venda]    Script Date: 25/01/2014 22:56:24 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Venda](
	[Codigo] [int] IDENTITY(1,1) NOT NULL,
	[CodPessoa] [int] NOT NULL,
	[ValorVenda] [decimal](12, 2) NULL,
	[DataVenda] [datetime] NOT NULL,
	[FormaPagamento] [int] NULL,
PRIMARY KEY CLUSTERED 
(
	[Codigo] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


